package sfy.md.behavior.intermediary;

public class Client {
    public static void main(String[] args){
        HouseManager houseManager  = new HouseHandler();
        House house = houseManager.getOneHouse();
        System.out.println("house:"+house);

        //--------------------------------------------------使用中介类获取一套房子
        ZhongJie zhongJie = new ZhongJie();
       House house1 = zhongJie.getOneHouse();
       System.out.println("house1:"+house1);
    }
}
